export default {
    props: {
        to: String,
        required: true
    },
    render(h) {
        // return <a href={'#'+this.to}>{this.$slots.default}</a>;
        return h('a', 
            {
                attrs: {
                href: '#' + this.to
            }
            }, [
                this.$slots.default
            ]
        )
    }
}